<?php

namespace App\Enum;

use App\Enum\BaseEnum;

class WordTypeEnum extends BaseEnum
{
    const TEXT =  'text';
    const IMAGE =  'image';
    const VIDEO =  'video';
    const FILE =  'file';
    const LINK =  'url';
    const MINI_PROGRAM =  'mini_program';
    const VIDEO_NUM =  'video_num';
    const GIF =  'gif';
    const CROWD =  'crowd';//群
    const NOTICE =  'notice';//群通知

    const VIDEO_CHANNEL = 'video_channel';
    const QUESTIONNAIRE = 'questionnaire';
    const CUSTOM_MINI_PROGRAM = 'custom_mini_program';

    public static function getMap(): array
    {
        return [
            self::TEXT => '文字',
            self::IMAGE => '图片',
            self::VIDEO => '视频',
            self::FILE => '文件',
            self::LINK => '链接',
            self::MINI_PROGRAM => '小程序',
            self::VIDEO_NUM => '视频号',
            self::GIF => '表情',
            self::CROWD => '群邀请',
            self::VIDEO_CHANNEL => '视频号',
            self::QUESTIONNAIRE => '问卷',
            self::NOTICE => '群通知',
            self::CUSTOM_MINI_PROGRAM => '手动添加小程序',

        ];
    }

}